/**
 * @description 首页
 */
import React from "react"


import GlobalSearch from "@/components/GlobalSearch"
import Exhibition from './Components/Exhibition'
import Recommend from "./Components/Recommend"
import News from "./Components/News"
import AboutUs from "./Components/AboutUs"
import SystemIntroduction from "./Components/SystemIntroduction"
import OnlineMessage from "./Components/OnlineMessage"
import FriendLink from "./Components/FriendLink"

function HomePage({ home }) {
  return (
    <div className="home-wrapper">

      {/* 首页查询 */}
      {
        home.base.search_flag &&
        <GlobalSearch className='animate__animated homesearch' animateClass={home.base.search_animate} />
      }

      {/* 商品展示 */}
      <Exhibition home={home} />

      {/* 商品推荐 */}
      <Recommend home={home} />

      {/* 新闻资讯 */}
      <News home={home} />

      {/* 关于我们 */}
      <AboutUs home={home} />

      {/* 系统简介 */}
      <SystemIntroduction home={home} />

      {/* 在线留言 */}
      <OnlineMessage home={home} />

      {/* 友情链接 */}
      <FriendLink home={home} />
    </div>
  )
}
export default HomePage